import { Component, OnInit } from '@angular/core';

@Component({
    template: `
    <h3>管理</h3>
    <nav>
      <a routerLink="./" routerLinkActive="active"
        [routerLinkActiveOptions]="{ exact: true }">Dashboard</a>
      <a routerLink="./user" routerLinkActive="active">Manage User</a>
      <a routerLink="./menu" routerLinkActive="active">Manage Menu</a>
    </nav>
    <router-outlet></router-outlet>
    `
})
export class AdminComponent implements OnInit {
    constructor() { }

    ngOnInit() { }
}